package com.ruoyi.web.domian;

public class sqlReturn {
    private Object data; // 使用Object使得data可以是任何类型
    private int status;
    private String msg;

    // 公共构造方法，允许外部创建实例
    public sqlReturn(Object data, String msg, int status) {
        this.data = data;
        this.msg = msg;
        this.status = status;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


    @Override
    public String toString() {
        return "sqlReturn{" +
                "data=" + data +
                ", status=" + status +
                ", msg='" + msg + '\'' +
                '}';
    }



}
